package com.hzpd.hainan.model.news;


import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import org.litepal.annotation.Column;
import org.litepal.crud.DataSupport;

import java.io.Serializable;

/**
 * Created by 猪猪侠 on 2017/7/3.
 */

public class NewsChannelBean extends DataSupport implements Serializable{
    /**
     * tid : 260
     * style : 3
     * sort_order : 33
     * cnname : 文化
     */
    @Column(unique = true)
    @SerializedName("tid")
    private String tid;
    @SerializedName("style")
    private String style;
    private int sortOrder;
    @SerializedName("cnname")
    private String cnname;
    @Expose
    private String ischoice="1";

    public String getIschoice() {
        return ischoice;
    }

    public void setIschoice(String ischoice) {
        this.ischoice = ischoice;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public int getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getCnname() {
        return cnname;
    }

    public void setCnname(String cnname) {
        this.cnname = cnname;
    }

    @Override
    public String toString() {
        return "NewsChannelBean{" +
                "tid='" + tid + '\'' +
                ", style='" + style + '\'' +
                ", sortOrder='" + sortOrder + '\'' +
                ", cnname='" + cnname + '\'' +
                '}';
    }
}
